import _00SetFunction as sf

#构建复合函数
Xm,Ym,Zm=20,15,10 
X=range(Xm)
Y=range(Ym)
Z=range(Zm)
f=sf.createfunction(X,Y)
g=sf.createfunction(Y,Z)
gf=sf.compositefunc(f,g)
sf.drawgraph(gf)
print("f",f)
print("g",g)
print("gf",gf)